﻿#ifndef CONTACTUSER_H
#define CONTACTUSER_H

#include <QString>
#include <QVariant>

class ContactUser
{
public:
    ContactUser();
    bool operator ==(const ContactUser& other) const;
    static QVariant decoration(qint64 uid, QString name, int width, int height, QFont font);
    QVariant decoration(int width, int height, const QFont &font) const;
    QString display() const;
    QString getName(bool notEmpty) const;
    QString getToolTip() const;

    qint64 uid;
    QString name;
    QString pinyin;

    QString account;
    QString phone;
    qint64 p_org_id;
};

#endif // CONTACTUSER_H
